package com.tianaceae.educational.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教务_教室对象 edu_room
 * 
 * @author zhouhonggang
 * @date 2023-03-25
 */
public class EduRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 教室名称 */
    @Excel(name = "教室名称")
    private String roomName;

    /** 教室地址 */
    @Excel(name = "教室地址")
    private String roomLocation;

    /** 教室面积 */
    @Excel(name = "教室面积")
    private BigDecimal roomArea;

    /** 教室租金 */
    @Excel(name = "教室租金")
    private BigDecimal roomRental;

    @Excel(name = "缴纳方式", readConverterExp = "1=天,2=月,3=季度,4=半年,5=整年")
    private String roomRentalType;

    /** 房东姓名 */
    @Excel(name = "房东姓名")
    private String landlordName;

    /** 房东电话 */
    @Excel(name = "房东电话")
    private String landlordPhone;

    /** 乐观锁 */
    private Long revision;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomLocation(String roomLocation) 
    {
        this.roomLocation = roomLocation;
    }

    public String getRoomLocation() 
    {
        return roomLocation;
    }
    public void setRoomArea(BigDecimal roomArea) 
    {
        this.roomArea = roomArea;
    }

    public BigDecimal getRoomArea() 
    {
        return roomArea;
    }
    public void setRoomRental(BigDecimal roomRental) 
    {
        this.roomRental = roomRental;
    }

    public BigDecimal getRoomRental() 
    {
        return roomRental;
    }
    public void setRoomRentalType(String roomRentalType)
    {
        this.roomRentalType = roomRentalType;
    }

    public String getRoomRentalType()
    {
        return roomRentalType;
    }
    public void setLandlordName(String landlordName) 
    {
        this.landlordName = landlordName;
    }

    public String getLandlordName() 
    {
        return landlordName;
    }
    public void setLandlordPhone(String landlordPhone) 
    {
        this.landlordPhone = landlordPhone;
    }

    public String getLandlordPhone() 
    {
        return landlordPhone;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomName", getRoomName())
            .append("roomLocation", getRoomLocation())
            .append("roomArea", getRoomArea())
            .append("roomRental", getRoomRental())
            .append("roomRentalType", getRoomRentalType())
            .append("landlordName", getLandlordName())
            .append("landlordPhone", getLandlordPhone())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
